/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using VOL.Entity;
using VOL.Entity.SystemModels;


namespace BusFin.Read.Entity.DomainModels
{
    [Entity(TableCnName = "仓库管理",TableName = "wareHouse")]
    public partial class wareHouse:BaseEntity
    {
        /// <summary>
       ///编号
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="编号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string wareHouseId { get; set; }

       /// <summary>
       ///仓库名称
       /// </summary>
       [Display(Name ="仓库名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string wareHouseName { get; set; }

       /// <summary>
       ///所属部门
       /// </summary>
       [Display(Name ="所属部门")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string wareHouseDepartment { get; set; }

       /// <summary>
       ///仓库类型
       /// </summary>
       [Display(Name ="仓库类型")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string wareHouseType { get; set; }

       /// <summary>
       ///租赁时间
       /// </summary>
       [Display(Name ="租赁时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? wareHouseLeaseTime { get; set; }

       /// <summary>
       ///是否启用
       /// </summary>
       [Display(Name ="是否启用")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? wareHouseIsDisable { get; set; }

       /// <summary>
       ///是否默认
       /// </summary>
       [Display(Name ="是否默认")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? wareHouseIsDefule { get; set; }

       /// <summary>
       ///仓库地址
       /// </summary>
       [Display(Name ="仓库地址")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string wareHouseAddr { get; set; }

       /// <summary>
       ///仓库面积
       /// </summary>
       [Display(Name ="仓库面积")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string wareHouseArea { get; set; }

       /// <summary>
       ///联系人
       /// </summary>
       [Display(Name ="联系人")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string wareHouseLinkman { get; set; }

       /// <summary>
       ///手机号
       /// </summary>
       [Display(Name ="手机号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string wareHousePhone { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="wareHouseIsDelete")]
       [Column(TypeName="sbyte")]
       [Editable(true)]
       public sbyte? wareHouseIsDelete { get; set; }

       /// <summary>
       ///作用
       /// </summary>
       [Display(Name ="作用")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string wareHouseDesc { get; set; }

       
    }
}